home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / DevCon / Milan_1991 / Devcon91.2 / Network / Socket / include / pwd.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-01  |  402 b   |  28 lines

  1. /*
  2. ** Simple passwd entry for the Amiga.
  3. */
  4.  
  5. #ifndef PWD_H
  6. #define PWD_H
  7.  
  8. #ifndef SYS_TYPES_H
  9. #include <sys/types.h>
  10. #endif
  11.  
  12. struct passwd {
  13.     char    *pw_name;
  14.     char    *pw_dir;
  15.     char    *pw_passwd;
  16.     char    *pw_gecos;
  17.     uid_t    pw_uid;
  18.     gid_t    pw_gid;
  19.     char    *pw_shell;        /* unused */
  20.     char    *pw_comment;
  21. };
  22.  
  23. struct passwd *getpwent( void ) ;
  24. struct passwd *getpwnam( char * );
  25. struct passwd *getpwuid( uid_t );
  26.  
  27. #endif
  28.